package com.web.shop.service;

import com.web.shop.pojo.TbItemCat;

import java.util.List;


/**
 * 服务层接口
 * @author Administrator
 *
 */
public interface ItemCatService {

	/**
	 * 返回全部列表
	 * @return
	 */
	public List<TbItemCat> findAll();

	public void add(TbItemCat itemCat);

	public void update(TbItemCat itemCat);

	public TbItemCat findOne(Long id);

	public void delete(Long[] ids);

	public List<TbItemCat> findByParentId(Long parentId);
}
